package com.pingan.haofang.searchcloud.monitor.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 索引视图响应体
 *
 * @author EX-ZHOUYONG005
 * @date 2018-10-26
 */
@ApiModel(description = "索引视图响应体")
public class DashboardIndexSummaryInfoQueryResult {

    @ApiModelProperty("项目id")
    private Long projectId;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("索引id")
    private Long indexId;

    @ApiModelProperty("索引名称")
    private String indexName;

    @ApiModelProperty("索引数量")
    private Integer indexNum = 0;

    @ApiModelProperty("数据源数量")
    private Integer datasourceNum = 0;

    @ApiModelProperty("索引平均耗时")
    private Double avgCost = 0D;

    @ApiModelProperty("记录平均耗时")
    private Double recordCost = 0D;

    @ApiModelProperty("预期执行次数")
    private Integer expectNum = 0;

    @ApiModelProperty("定时执行次数")
    private Integer actualNum = 0;

    @ApiModelProperty("实际执行成功次数")
    private Integer actualSuccessNum = 0;

    @ApiModelProperty("定时成功率")
    private Double actualSuccessRate = 0D;

    @ApiModelProperty("手动执行次数")
    private Integer manualNum = 0;

    @ApiModelProperty("手动执行成功次数")
    private Integer manualSuccessNum = 0;

    @ApiModelProperty("手动执行成功率")
    private Double manualSuccessRate = 0D;

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Long getIndexId() {
        return indexId;
    }

    public void setIndexId(Long indexId) {
        this.indexId = indexId;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public Integer getIndexNum() {
        return indexNum;
    }

    public void setIndexNum(Integer indexNum) {
        this.indexNum = indexNum;
    }

    public Integer getDatasourceNum() {
        return datasourceNum;
    }

    public void setDatasourceNum(Integer datasourceNum) {
        this.datasourceNum = datasourceNum;
    }

    public Double getAvgCost() {
        return avgCost;
    }

    public void setAvgCost(Double avgCost) {
        this.avgCost = avgCost;
    }

    public Double getRecordCost() {
        return recordCost;
    }

    public void setRecordCost(Double recordCost) {
        this.recordCost = recordCost;
    }

    public Integer getExpectNum() {
        return expectNum;
    }

    public void setExpectNum(Integer expectNum) {
        this.expectNum = expectNum;
    }

    public Integer getActualNum() {
        return actualNum;
    }

    public void setActualNum(Integer actualNum) {
        this.actualNum = actualNum;
    }

    public Integer getActualSuccessNum() {
        return actualSuccessNum;
    }

    public void setActualSuccessNum(Integer actualSuccessNum) {
        this.actualSuccessNum = actualSuccessNum;
    }

    public Double getActualSuccessRate() {
        return actualSuccessRate;
    }

    public void setActualSuccessRate(Double actualSuccessRate) {
        this.actualSuccessRate = actualSuccessRate;
    }

    public Integer getManualNum() {
        return manualNum;
    }

    public void setManualNum(Integer manualNum) {
        this.manualNum = manualNum;
    }

    public Integer getManualSuccessNum() {
        return manualSuccessNum;
    }

    public void setManualSuccessNum(Integer manualSuccessNum) {
        this.manualSuccessNum = manualSuccessNum;
    }

    public Double getManualSuccessRate() {
        return manualSuccessRate;
    }

    public void setManualSuccessRate(Double manualSuccessRate) {
        this.manualSuccessRate = manualSuccessRate;
    }
}
